package com.tedu.spring.demo.day01;

import com.tedu.spring.demo.day01.Location;
import com.tedu.spring.demo.pojo.Person;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class DemoTest {
    @Test
    public void test() {
        ApplicationContext ac = new ClassPathXmlApplicationContext("beanc.xml");
        Location location = (Location)ac.getBean("location");
        System.out.println(location);
    }

}
